﻿<UserControl x:Class="Caliburn.Micro.HelloWindowManager.Dialog.Modeless"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:cal="http://www.caliburnproject.org"
			 Height="240">
	<StackPanel>
		<TextBlock FontSize="20">This is a custom WINDOW view.</TextBlock>

		<ItemsControl Name="Buttons">
			<ItemsControl.ItemTemplate>
				<DataTemplate>
					<Button Margin="10"
							Content="{Binding}"
							cal:Message.Attach="SomeActionWithParameter($dataContext)"></Button>
				</DataTemplate>
			</ItemsControl.ItemTemplate>
		</ItemsControl>
	</StackPanel>
</UserControl>